package com.sfh.cp.msg.pst;


import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

import crm.sfh.server.entity.ENotice;
import crm.sfh.server.entity.req.ReqPage;
import crm.sfh.server.entity.rsp.TPage;

@Service(achieve = PstMessage.class)
public interface IPstMessage extends IPresenter<IPstMessage.IVMessage> {
    interface IVMessage extends IView {
        void onSuccess(TPage<ENotice> page);
        void onError(String error);
    }

    void listPage(ReqPage req);
}